package xin.jishu.ai;

import org.openstack4j.core.transport.internal.HttpLoggingFilter;
import xin.jishu.ai.providers.KeyStone;

/**
 * @author sxsx欧克 <wo@jishu.xin>
 */
public class TestEntrypoint {

    static {
        HttpLoggingFilter.toggleLogging(true);
    }

    public static void main(String[] args) {
        new KeyStone().initialize();

        KeyStone.client.compute()
                .servers()
                .listAll(false)
                .forEach(server -> System.out.println(server.getName()));
    }


}
